Salesforce Pardot actions
1. Create List
Pardot Create List connector is used to create a list in pardot.
Properties expected by the connector:
Property | DataType | Required |
---|---|---|
Base_Url | String | Yes |
Username | String | Yes |
Password | String | Yes |
Client_Id | String | Yes |
Client_Secret | String | Yes |
Environment | String | Yes |
API_Version | String | Yes |
Data_Property | JSON | Yes |
Properties required by the connector:
Following are the properties of this connector and can be overridden by msg.config object.
1. Base_Url
Base url of pardot.
Override property msg.config.baseUrl
2. Client_Id
Client id of your connected app
Override property msg.config.clientId
3. Client_Secret
Client secret of your connected app.
Override property msg.config.clientSecret
4. Username
Username of your salesforce account.
Override property msg.config.username
5. Password
Password of your salesforce account.
Override property msg.config.password
6. Business_Unit_Id
Business unit id of pardot.
Override property msg.config.businessUnitId
7. Environment
Specifies production/ sandbox
Override property msg.config.environment
8. Api_Version
Specifies pardot Api version
Override property msg.config.apiVersion
9. Data_Property
Data property to create the prospect
Override property msg.config.dataProperty
Following message properties can be inside the connector properties if provided.
- msg.config.baseUrl => baseUrl
- msg.config.clientId => clientId
- msg.config.clientSecret => clientSecret
- msg.config.username => username
- msg.config.password => password
- msg.config.businessUnitId => businessUnitId
- msg.config.apiVersion => apiVersion
- msg.config.environment => environment
- msg.config.dataProperty => dataProperty
Sample config
msg.config ={
"baseUrl":"",
"clientId":"" ,
"clientSecret":"" ,
"username": "",
"password": "",
"environment": "",
"apiVersion": "",
"businessUnitId": "",
"data_property": ""
}
Sample data
msg.data={
"title" : "sample111",
"name" : "list111"
}
2. About Create Prospects:
This connector creates prospect in Pardot.
Properties expected by the connector:
Property | DataType | Required |
---|---|---|
Base_Url | String | Yes |
Client_Id | String | Yes |
Client_Secret | String | Yes |
Username | String | Yes |
Password | String | Yes |
Environment | String | Yes |
Api_Version | String | Yes |
Business_Unit_Id | String | Yes |
Data_Property | String | Yes |
Properties:
Following are the properties of this connector and can be overridden by msg.config object.
1. Base_Url
Base url of pardot.
Override property msg.config.baseUrl
2. Client_Id
Client id of your connected app.
Override property msg.config.clientId
3. Client_Secret
Client secret of your connected app.
Override property msg.config.clientSecret
4. Username
Username of your salesforce account.
Override property msg.config.username
5. Password
Password of your salesforce account.
Override property msg.config.password
6. Business_Unit_Id
Business unit id of pardot account .
Override property msg.config.businessUnitId
7. Environment
Specifies production/sandbox .
Override property msg.config.environment
8. Api_Version
Specifies pardot Api version .
Override property msg.config.apiVersion
9. Data_Property
Data property to create the prospect.
Override property msg.config.dataProperty
Following message properties can be inside the connector properties if provided.
- msg.config.baseUrl => baseUrl
- msg.config.clientId => clientId
- msg.config.clientSecret => clientSecret
- msg.config.username => username
- msg.config.password => password
- msg.config.environment => environment
- msg.config.apiVersion => apiVersion
- msg.config.businessUnitId=> businessUnitId
- msg.config.data_property => dataProperty
Sample config
msg.config ={
"baseUrl":"",
"clientId":"" ,
"clientSecret":"" ,
"username": "",
"password": "",
"environment": "",
"apiVersion": "",
"businessUnitId": "",
"data_property": ""
}
Sample data
msg.data={
"email":"a.alexander@sample.com",
"firstName": "Athenasius",
"lastName": "Alexander"
}
Email is a Required field.Optional and read-only fields can be added.
3. About Create Custom Fields
Pardot Create Custom Fields connector is used to create custom fields in pardot.
Properties expected by the connector:
Property | DataType | Required |
---|---|---|
Base_Url | String | Yes |
Username | String | Yes |
Password | String | Yes |
Client_Id | String | Yes |
Client_Secret | String | Yes |
Environment | String | Yes |
API_Version | String | Yes |
Data_Property | JSON | Yes |
Fields | String | Yes |
Properties required by the connector:
Following are the properties of this connector and can be overridden by msg.config object.
1. Base_Url
Base url of pardot.
Override property msg.config.baseUrl
2. Client_Id
Client id of your connected app
Override property msg.config.clientId
3. Client_Secret
Client secret of your connected app.
Override property msg.config.clientSecret
4. Username
Username of your salesforce account.
Override property msg.config.username
5. Password
Password of your salesforce account.
Override property msg.config.password
6. Business_Unit_Id
Business unit id of pardot.
Override property msg.config.businessUnitId
7. Environment
Specifies production/ sandbox
Override property msg.config.environment
8. Api_Version
Specifies pardot Api version
Override property msg.config.apiVersion
9. Data_Property
Data property to create the prospect
Override property msg.config.dataProperty
10. Fields
Data property to specify fields
Override property msg.config.fields
Following message properties can be inside the connector properties if provided.
- msg.config.baseUrl => baseUrl
- msg.config.clientId => clientId
- msg.config.clientSecret => clientSecret
- msg.config.username => username
- msg.config.password => password
- msg.config.businessUnitId => businessUnitId
- msg.config.apiVersion => apiVersion
- msg.config.environment => environment
- msg.config.dataProperty => dataProperty
- msg.config.fields => fields
Sample config
msg.config ={
"baseUrl":""
"clientId":"" ,
"clientSecret":"" ,
"username": "",
"password": "",
"businessUnitId": "",
"environment":"",
"apiVersion":"",
"dataProperty" : "",
"fields" : ""
}
Sample data
msg.data={
"name":"My Custom Field",
"fieldId": "myCustomField",
"type":"text"
}
4. Pardot Create List Membership
Pardot Create List Membership connector is used to connect a prospect to a list in pardot.
Properties expected by the connector:
Property | DataType | Required |
---|---|---|
Base_Url | String | Optional |
Username | String | Yes |
Password | String | Yes |
Client_Id | String | Yes |
Client_Secret | String | Yes |
Environment | String | Yes |
API_Version | String | Yes |
Data_Property | JSON | Yes |
Fields | String | Yes |
Properties required by the connector:
Following are the properties of this connector and can be overridden by msg.config object.
1. Base_Url
Base url of pardot.
Override property msg.config.baseUrl
2. Client_Id
Client id of your connected app
Override property msg.config.clientId
3. Client_Secret
Client secret of your connected app.
Override property msg.config.clientSecret
4. Username
Username of your salesforce account.
Override property msg.config.username
5. Password
Password of your salesforce account.
Override property msg.config.password
6. Business_Unit_Id
Business unit id of pardot.
Override property msg.config.businessUnitId
7. Environment
Specifies production/ sandbox
Override property msg.config.environment
8. Api_Version
Specifies pardot Api version
Override property msg.config.apiVersion
9. Data_Property
Data property to create the prospect
Override property msg.config.dataProperty
10. Fields
Data property to specify fields
Override property msg.config.fields
Following message properties can be inside the connector properties if provided.
- msg.config.baseUrl => baseUrl
- msg.config.clientId => clientId
- msg.config.clientSecret => clientSecret
- msg.config.username => username
- msg.config.password => password
- msg.config.businessUnitId => businessUnitId
- msg.config.apiVersion => apiVersion
- msg.config.environment => environment
- msg.config.dataProperty => dataProperty
- msg.config.fields => fields
Sample config
msg.config ={
"baseUrl":""
"clientId":"" ,
"clientSecret":"" ,
"username": "",
"password": "",
"businessUnitId": "",
"environment":"",
"apiVersion":"",
"dataProperty" : "",
"fields" : ""
}
Sample data
msg.data={
"listId": 500,
"prospectId": 20000,
"optedOut": false
}
5. Pardot Delete List by Id
Pardot Delete List connector is used to delete a list in pardot.
Properties expected by the connector:
Property | DataType | Required |
---|---|---|
Base_Url | String | Yes |
Client_Id | String | Yes |
Client_Secret | String | Yes |
Description | String | Yes |
Username | String | Yes |
Password | String | Yes |
Business_Unit_Id | String | Yes |
Environment | String | Yes |
Api_Version | String | Yes |
Id | Integer | Yes |
Properties:
Following are the properties of this connector and can be overridden by msg.config object.
1. Base_Url
Base url of pardot.
Override property msg.config.baseUrl
2. Client_Id
Client id of your connected app
Override property msg.config.clientId
3. Client_Secret
Client secret of your connected app.
Override property msg.config.clientSecret
4. Username
Username of your salesforce account.
Override property msg.config.username
5. Password
Password of your salesforce account.
Override property msg.config.password
6. Business_Unit_Id
Business unit id of pardot.
Override property msg.config.businessUnitId
7. Environment
Specifies production/ sandbox
Override property msg.config.environment
8. Api_Version
Specifies pardot Api version
Override property msg.config.apiVersion
9. Id
Id of prospect to be updated.
Override property msg.config.id
Following message properties can be inside the connector properties if provided.
- msg.config.baseUrl => baseUrl
- msg.config.clientId => clientId
- msg.config.clientSecret => clientSecret
- msg.config.username => username
- msg.config.password => password
- msg.config.environment => environment
- msg.config.apiVersion => apiVersion
- msg.config.businessUnitId => businessUnitId
- msg.config.id => id
Sample config
msg.config ={
"baseUrl":"",
"clientId":"" ,
"clientSecret":"" ,
"username": "",
"password": "",
"businessUnitId": "",
"environment":"",
"apiVersion":"",
"id" : ""
}
6. About Delete Prospects by Id:
This connector deletes prospect from Pardot.
Properties expected by the connector:
Property | DataType | Required |
---|---|---|
Base_Url | String | Yes |
Client_Id | String | Yes |
Client_Secret | String | Yes |
Username | String | Yes |
Password | String | Yes |
Environment | String | Yes |
Api_Version | String | Yes |
Business_Unit_Id | String | Yes |
Prospect_Id | Integer | Yes |
Properties:
Following are the properties of this connector and can be overridden by msg.config object.
1. Base_Url
Base url of pardot.
Override property msg.config.baseUrl
2. Client_Id
Client id of your connected app.
Override property msg.config.clientId
3. Client_Secret
Client secret of your connected app.
Override property msg.config.clientSecret
4. Username
Username of your salesforce account.
Override property msg.config.username
5. Password
Password of your salesforce account.
Override property msg.config.password
6. Environment
Specifies production/sandbox .
Override property msg.config.environment
7. Api_Version
Specifies pardot Api version .
Override property msg.config.apiVersion
8. Business_Unit_Id
Business unit id of pardot account.
Override property msg.config.businessUnitId
9. Prospect_Id
Id of prospect to be deleted.
Override property msg.config.prospectId
Following message properties can be inside the connector properties if provided.
- msg.config.baseUrl => baseUrl
- msg.config.clientId => clientId
- msg.config.clientSecret => clientSecret
- msg.config.username => username
- msg.config.password => password
- msg.config.environment => environment
- msg.config.apiVersion => apiVersion
- msg.config.businessUnitId=> businessUnitId
- msg.config.prospectId => prospectId
Sample config
msg.config ={
"baseUrl": "",
"clientId":"" ,
"clientSecret":"" ,
'username': "",
"password": "",
"environment": "",
"apiVersion": "",
"businessUnitId": "",
"prospectId": ""
}
7. About Find Prospect by Id:
This connector finds a prospect in pardot using id parameter.
Properties expected by the connector:
Property | DataType | Required |
---|---|---|
Base_Url | String | Yes |
Client_Id | String | Yes |
Client_Secret | String | Yes |
Username | String | Yes |
Password | String | Yes |
Business_Unit_Id | String | Yes |
Environment | String | Yes |
Api_Version | String | Yes |
Prospect_Id | Integer | Yes |
Return_Fields | String | Yes |
Properties:
Following are the properties of this connector and can be overridden by msg.config object.
1. Client_Id
Client id of your connected app.
Override property msg.config.clientId
2. Client_Secret
Client secret of your connected app.
Override property msg.config.clientSecret
3. Username
Username of your salesforce account.
Override property msg.config.username
4. Password
Password of your salesforce account.
Override property msg.config.password
5. Business_Unit_Id
Business unit id of pardot account.
Override property msg.config.businessUnitId
6. Environment
Specifies production/sandbox .
Override property msg.config.environment
7. Api_Version
Specifies pardot Api version .
Override property msg.config.apiVersion
8. Prospect_Id
Id of prospect to be updated.
Override property msg.config.prospectId
9. Return_Fields
Return fields of prospect to be returned.
Override property msg.config.returnFields
Following message properties can be inside the connector properties if provided.
- msg.config.baseUrl => baseUrl
- msg.config.clientId => clientId
- msg.config.clientSecret => clientSecret
- msg.config.username => username
- msg.config.password => password
- msg.config.businessUnitId=> businessUnitId
- msg.config.environment => environment
- msg.config.apiVersion => apiVersion
- msg.config.prospectId => prospectId
- msg.config.returnFields => returnFields
Sample config
msg.config ={
"baseUrl": "",
"clientId":"" ,
"clientSecret":"" ,
"username": "",
"password": "",
"businessUnitId": "",
"environment": "",
"apiVersion": "",
"prospectId":"",
"returnFields":""
}
Sample data
msg.data ={
"prospectId": 3654627,
"returnFields": "id,email,firstName"
}
8. About Find Prospect by Query:
This connector finds a prospect in pardot using parameters to filter the returned results.
Properties expected by the connector:
Property | DataType | Required |
---|---|---|
Base_Url | String | Yes |
Client_Id | String | Yes |
Client_Secret | String | Yes |
Username | String | Yes |
Password | String | Yes |
Business_Unit_Id | String | Yes |
Environment | String | Yes |
Api_Version | String | Yes |
Return_Fields | String | Yes |
Sort_By | String | Optional |
Search_Params | String | Optional |
Properties:
Following are the properties of this connector and can be overridden by msg.config object.
1. Base_Url
Base url of pardot.
Override property msg.config.baseUrl
2. Client_Id
Client id of your connected app.
Override property msg.config.clientId
3. Client_Secret
Client secret of your connected app.
Override property msg.config.clientSecret
4. Username
Username of your salesforce account.
Override property msg.config.username
5. Password
Password of your salesforce account.
Override property msg.config.password
6. Business_Unit_Id
Business unit id of pardot account.
Override property msg.config.businessUnitId
7. Environment
Specifies production/sandbox .
Override property msg.config.environment
8. Api_Version
Specifies pardot Api version .
Override property msg.config.apiVersion
9. Return_Fields
Return Fields are the fields of prospect to be returned.
Override property msg.config.returnFields
10. Sort_By
Sort by can be used specify prospects in the orderBy parameter.
Override property msg.config.sortBy
11. Search_Params
Search Params can be used to filter the returned prospects.
Override property msg.config.searchParams
Following message properties can be inside the connector properties if provided.
- msg.config.baseUrl => baseUrl
- msg.config.clientId => clientId
- msg.config.clientSecret => clientSecret
- msg.config.username => username
- msg.config.password => password
- msg.config.businessUnitId=> businessUnitId
- msg.config.environment => environment
- msg.config.apiVersion => apiVersion
- msg.config.returnFields => returnFields
- msg.config.sortBy => sortBy
- msg.config.searchParams => searchParams
Sample config
msg.config ={
"baseUrl": "",
"clientId":"" ,
"clientSecret":"" ,
"username": "",
"password": "",
"businessUnitId": "",
"environment": "",
"apiVersion": "",
"returnFields": "",
"sortBy": "",
"searchParams": ""
}
Sample Sort_By Sort_By : "id desc"
Sample Params msg.searchParams{ "createdAtAfter": "2022-05-28T07:40:00-05:00", "idGreaterThan": "3625250" }
Sort_By and Search_Params are not mandatory fields, data will be sorted in default manner.
9. About Get Visitor Activity By Prospect Id:
This Connector gets all visitor activities by prospect id in pardot.
Properties expected by the connector:
Property | DataType | Required |
---|---|---|
Base_Url | String | Yes |
Client_Id | String | Yes |
Client_Secret | String | Yes |
Username | String | Yes |
Password | String | Yes |
Business_Unit_Id | String | Yes |
Environment | String | Yes |
Api_Version | String | Yes |
Return_Fields | String | Yes |
Prospect_Id | Integer | Yes |
Properties:
Following are the properties of this connector and can be overridden by msg.config object.
1. Base_Url
Base url of pardot.
Override property msg.config.baseUrl
2. Client_Id
Client id of your connected app.
Override property msg.config.clientId
3. Client_Secret
Client secret of your connected app.
Override property msg.config.clientSecret
4. Username
Username of your salesforce account.
Override property msg.config.username
5. Password
Password of your salesforce account.
Override property msg.config.password
6. Business_Unit_Id
Business unit id of pardot account .
Override property msg.config.businessUnitId
7. Environment
Specifies production/sandbox .
Override property msg.config.environment
8. Api_Version
Specifies pardot Api version .
Override property msg.config.apiVersion
9. Return_Fields
Fields of visitor activity to be returned.
Override property msg.config.returnFields
10. Prospect_Id
Prospect id to update visitor activity.
Override property msg.config.prospectId
Following message properties can be inside the connector properties if provided.
- msg.config.baseUrl => baseUrl
- msg.config.clientId => clientId
- msg.config.clientSecret => clientSecret
- msg.config.username => username
- msg.config.password => password
- msg.config.businessUnitId=> businessUnitId
- msg.config.environment => environment
- msg.config.apiVersion => apiVersion
- msg.config.returnFields => returnFields
- msg.config.prospectId => prospectId
Sample config
msg.config ={
"baseUrl": ""
"clientId":"" ,
"clientSecret":"" ,
"username": "",
"password": "",
"businessUnitId": "",
"environment": "",
"apiVersion": "",
"returnFields": "",
"prospectId": ""
}
10. About Get all Visitor Activity:
This connector gets all visitor activities from pardot.
Properties expected by the connector:
Property | DataType | Required |
---|---|---|
Base_Url | String | Yes |
Client_Id | String | Yes |
Client_Secret | String | Yes |
Username | String | Yes |
Password | String | Yes |
Business_Unit_Id | String | Yes |
Environment | String | Yes |
Api_Version | String | Yes |
Return_Fields | String | Yes |
Sort_By | String | Optional |
Search_Params | String | Optional |
Properties:
Following are the properties of this connector and can be overridden by msg.config object.
1. Base_Url
Base url of pardot.
Override property msg.config.baseUrl
2. Client_Id
Client id of your connected app.
Override property msg.config.clientId
3. Client_Secret
Client secret of your connected app.
Override property msg.config.clientSecret
4. Username
Username of your salesforce account.
Override property msg.config.username
5. Password
Password of your salesforce account.
Override property msg.config.password
6. Business_Unit_Id
Business unit id of pardot account.
Override property msg.config.businessUnitId
7. Environment
Specifies production/sandbox .
Override property msg.config.environment
8. Api_Version
Specifies pardot Api version .
Override property msg.config.apiVersion
9. Return_Fields
Return fields of visitor activity to be returned.
Override property msg.config.returnFields
10. Sort_By
Sort_By can be used specify visitor activity in the orderBy parameter.
Override property msg.config.sortBy
11. Search_Params
Search Params can be used to filter the returned visitor activity.
Override property msg.config.searchParams
Following message properties can be inside the connector properties if provided.
msg.config.baseUrl => baseUrl
msg.config.clientId => clientId
msg.config.clientSecret => clientSecret
msg.config.username => username
msg.config.password => password
msg.config.businessUnitId=> businessUnitId
msg.config.environment => environment
msg.config.apiVersion => apiVersion
msg.config.returnFields => returnFields
msg.config.sortBy => sortBy
msg.config.searchParams => searchParams
Sample config
msg.config ={
"baseUrl": "",
"clientId":"" ,
"clientSecret":"" ,
"username": "",
"password": "",
"businessUnitId": "",
"environment": "",
"apiVersion": "",
"returnFields": ""
"sortedBy": "",
"searchparams"
}Sample Sort_By Sort_By- id desc
Sample Params msg.searchParams{ "createdAtAfter": "2022-05-28T07:40:00-05:00", "idGreaterThan": "3625250" } Sort_By and Search_Params are not mandatory fields, data will be sorted in default manner.
11. Pardot Read Custom Fields
Pardot Read Custom Fields connector is used to read custom fields in pardot.
Properties expected by the connector:
Property | DataType | Required |
---|---|---|
Base_Url | String | Yes |
Username | String | Yes |
Password | String | Yes |
Client_Id | String | Yes |
Client_Secret | String | Yes |
Environment | String | Yes |
API_Version | String | Yes |
Fields | String | Yes |
Id | Integer | Yes |
Properties required by the connector:
Following are the properties of this connector and can be overridden by msg.config object.
1. Base_Url
Base url of pardot.
Override property msg.config.baseUrl
2. Client_Id
Client id of your connected app
Override property msg.config.clientId
3. Client_Secret
Client secret of your connected app.
Override property msg.config.clientSecret
4. Username
Username of your salesforce account.
Override property msg.config.username
5. Password
Password of your salesforce account.
Override property msg.config.password
6. Business_Unit_Id
Business unit id of pardot.
Override property msg.config.businessUnitId
7. Environment
Specifies production/ sandbox
Override property msg.config.environment
8. Api_Version
Specifies pardot Api version
Override property msg.config.apiVersion
9. Fields
Data property to specify fields
Override property msg.config.fields
10. Id
Id of prospect to be updated.
Override property msg.config.id
Following message properties can be inside the connector properties if provided.
- msg.config.baseUrl => baseUrl
- msg.config.clientId => clientId
- msg.config.clientSecret => clientSecret
- msg.config.username => username
- msg.config.password => password
- msg.config.businessUnitId => businessUnitId
- msg.config.apiVersion => apiVersion
- msg.config.environment => environment
- msg.config.fields => fields
- msg.config.id => id
Sample config
msg.config ={
"baseUrl":""
"clientId":"" ,
"clientSecret":"" ,
"username": "",
"password": "",
"businessUnitId": "",
"environment":"",
"apiVersion":"",
"fields" : ""
"id" : ""
}
Sample data
msg.data={
"id": 232130,
"name": "Custom Field",
"fieldId": "custom_field"
}
12. About Update Prospects by Id:
This connector updates prospect from Pardot.
Properties expected by the connector:
Property | DataType | Required |
---|---|---|
Base_Url | String | Yes |
Client_Id | String | Yes |
Client_Secret | String | Yes |
Username | String | Yes |
Password | String | Yes |
Business_Unit_Id | String | Yes |
Environment | String | Yes |
Api_Version | String | Yes |
Data_Property | String | Yes |
Prospect_Id | Integer | Yes |
Properties:
Following are the properties of this connector and can be overridden by msg.config object.
1. Base_Url
Base url of pardot.
Override property msg.config.baseUrl
2. Client_Id
Client id of your connected app.
Override property msg.config.clientId
3. Client_Secret
Client secret of your connected app.
Override property msg.config.clientSecret
4. Username
Username of your salesforce account.
Override property msg.config.username
5. Password
Password of your salesforce account.
Override property msg.config.password
6. Business_Unit_Id
Business unit id of pardot account .
Override property msg.config.businessUnitId
7. Environment
Specifies production/sandbox .
Override property msg.config.environment
8. Api_Version
Specifies pardot Api version .
Override property msg.config.apiVersion
9. Data_Property
Data property to create the prospect.
Override property msg.config.dataProperty
10. Prospect_Id
Id of prospect to be deleted.
Override property msg.config.prospectId
Following message properties can be inside the connector properties if provided.
- msg.config.baseUrl => baseUrl
- msg.config.clientId => clientId
- msg.config.clientSecret => clientSecret
- msg.config.username => username
- msg.config.password => password
- msg.config.businessUnitId=> businessUnitId
- msg.config.environment => environment
- msg.config.apiVersion => apiVersion
- msg.config.data_property => dataProperty
- msg.config.prospectId => prospectId
Sample config
msg.config ={
"baseUrl": "",
"clientId":"" ,
"clientSecret":"" ,
"username": "",
"password": "",
"businessUnitId": "",
"environment": "",
"apiVersion": "",
"data_property": "",
"prospectId": ""
}
Sample data
msg.data={
"prospectId": 101,
"email": "jane.doe@example.com",
"firstName": "Jane"
}
13. Pardot Upsert Prospect
Pardot Upsert Prospect connector is used to create a new or update an existing prospect in pardot.
Properties expected by the connector:
Property | DataType | Required |
---|---|---|
Base_Url | String | Yes |
Username | String | Yes |
Password | String | Yes |
Client_Id | String | Yes |
Client_Secret | String | Yes |
Environment | String | Yes |
API_Version | String | Yes |
Data_Property | JSON | Yes |
Properties required by the connector:
Following are the properties of this connector and can be overridden by msg.config object.
1. Base_Url
Base url of pardot.
Override property msg.config.baseUrl
2. Client_Id
Client id of your connected app
Override property msg.config.clientId
3. Client_Secret
Client secret of your connected app.
Override property msg.config.clientSecret
4. Username
Username of your salesforce account.
Override property msg.config.username
5. Password
Password of your salesforce account.
Override property msg.config.password
6. Business_Unit_Id
Business unit id of pardot.
Override property msg.config.businessUnitId
7. Environment
Specifies production/ sandbox
Override property msg.config.environment
8. Api_Version
Specifies pardot Api version
Override property msg.config.apiVersion
9. Data_Property
Data property to create the prospect
Override property msg.config.dataProperty
Following message properties can be inside the connector properties if provided.
- msg.config.baseUrl => baseUrl
- msg.config.clientId => clientId
- msg.config.clientSecret => clientSecret
- msg.config.username => username
- msg.config.password => password
- msg.config.businessUnitId => businessUnitId
- msg.config.apiVersion => apiVersion
- msg.config.environment => environment
- msg.config.dataProperty => dataProperty
Sample config
msg.config ={
"baseUrl":""
"clientId":"" ,
"clientSecret":"" ,
"username": "",
"password": "",
"businessUnitId": "",
"environment":"",
"apiVersion":"",
"dataProperty" : ""
}
Sample data
msg.data: {
"matchEmail": "test01@test.com",
"prospect": {
"email": "test01@test.com",
"firstName": "Test01"
},
"fields": ["id", "email", "firstName"],
"secondaryDeletedSearch": true
}